package ooday02;

public class Chick extends Animal{
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void layEggs(){
        System.out.println(age+"岁的"+"小"+color+"鸡"+name+"下蛋了！");
    }
    void eat(){
        System.out.println(age+"岁的"+"小"+color+"鸡"+name+"正在吃小米。。。");
    }
}
